home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / mac-emacs-src / 68k-traps.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-19  |  704 b   |  20 lines  |  [TEXT/EMAC]

  1. /*
  2.  * Copyright (C) 1994 Marc Parmet.
  3.  * This file is part of the Macintosh port of GNU Emacs.
  4.  *
  5.  * GNU Emacs is distributed in the hope that it will be useful,
  6.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  7.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  8.  * GNU General Public License for more details.
  9.  */
  10.  
  11. struct regs_for_68k_traps { long d0,d1,d2,a0,a1; };
  12.  
  13. enum {
  14.     execute_68k_trap_ProcInfo = kCStackBased
  15.      | STACK_ROUTINE_PARAMETER(1, SIZE_CODE(sizeof(int (*)())))
  16.      | STACK_ROUTINE_PARAMETER(2, SIZE_CODE(sizeof(char *)))
  17.      | STACK_ROUTINE_PARAMETER(3, SIZE_CODE(sizeof(int)))
  18.      | STACK_ROUTINE_PARAMETER(4, SIZE_CODE(sizeof(struct regs_for_68k_traps *)))
  19. };
  20.